<template>
  <li><i>
      {{labal}}
    </i><span>
      {{content||'加载中...'}}
    </span></li>
</template>
<script>
export default {
  name: 'consitem',
  props: {
    labal: String,
    content: String
  }
}
</script>
<style lang="less" scoped>
li {
  margin: 12px 0;
  padding: 0 10px;
  border-radius: 5px;
  list-style: none;
  height: 36px;
  line-height: 36px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
i {
  color: #d42f86;
}
span {
  width: 300px;
  margin: 0 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
</style>
